<%@page contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link href="<%=request.getContextPath()%>/css/book_head090107.css" rel="stylesheet" type="text/css" />
<div class="head_container">
	<div class="head_welcome">
		<div class="head_welcome_right">
			<span class="head_welcome_text"> </span>
			<span class="head_welcome_text"> <span class="little_n">
					| <a href="#" class="head_black12a">我的当当</a> | <a
					href="#" class="head_black12a" target="_blank">帮助</a>
					| </span> </span>
			<div class="cart gray4012">
				<a href="<%=request.getContextPath()%>/cart/cartList.do">购物车</a>
			</div>
		</div>
		<span class="head_toutext" id="logininfo">
		<c:choose>
			<c:when test="${empty user}">
				<b>您好，欢迎光临当当网</b>
				[&nbsp;<a href="<%=request.getContextPath()%>/user/logInOut/toLogin.do" class="b">登录</a>|<a
				href="<%=request.getContextPath()%>/user/register/toRegister.do" class="b">注册</a>&nbsp;]
			</c:when>
			<c:otherwise>
				<b>欢迎${user.nickname}</b>
				[&nbsp;<a href="<%=request.getContextPath()%>/user/logInOut/logout.do" class="b">退出</a>&nbsp;]
			</c:otherwise>
		</c:choose>
		</span>
	</div>
	<div class="head_head_list">
		<div class="head_head_list_left">
			<span class="head_logo">
				<a href="<%=request.getContextPath()%>/main/toMain.do">
					<img src="<%=request.getContextPath()%>/images/booksaleimg/book_logo.gif" />
				</a>
			</span>
		</div>
		<div class="head_head_list_right">
			<div class="head_head_list_right_b">
			</div>
		</div>
	</div>
	<div class="head_search_div">

	</div>
	<div class="head_search_bg"></div>
</div>
